# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=font-winitzki-cyrillic
pkgver=1.0.4
pkgrel=1
pkgdesc="X.org winitzki cyrillic fonts"
url="https://xorg.freedesktop.org/"
arch="noarch"
license="Public Domain"
options="!check"
depends="encodings font-alias mkfontscale fontconfig"
makedepends="font-util-dev bdftopcf"
source="https://www.x.org/releases/individual/font/font-winitzki-cyrillic-$pkgver.tar.xz"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--with-mapfiles=/usr/share/fonts/util \
		--with-fontdir=/usr/share/fonts/cyrillic
	make
}

package() {
	make DESTDIR="$pkgdir" \
		MKFONTDIR=: \
		MKFONTSCALE=: \
		FCCACHE=: \
		install
}

sha512sums="
11e366f96abe65aed9fb6fd087b2bd90af9f60548de0cebfeb348262860957a63a997616e00092d312b8ae9c262a7bb52da69c704a27d34018a45b98a87eb158  font-winitzki-cyrillic-1.0.4.tar.xz
"
